package com.example.image.demos.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ts
 * @since 2024-11-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("image")
public class Image implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "image_id", type = IdType.AUTO)
    private Integer image_id;

    @TableField("image_name")
    private String image_name;

    @TableField("image_format")
    private String image_format;

    @TableField("upload_address")
    private String upload_address;

    @TableField("create_time")
    private LocalDateTime create_time;

    @TableField("image_detail")
    private String image_detail;
    @TableField("user_id")
    private Integer user_id;

}
